﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lottery.MediaData.Core {
    /// <summary>
    /// 过滤数据
    /// </summary>
    public class FD {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="mediaCount">媒体数</param>
        /// <param name="count">媒体数对应的个数</param>
        /// <param name="low">限制的最低值</param>
        /// <param name="up">限制的最高值</param>
        /// <param name="isAttended">是否参与合并数为1、2、3的合并。true：参与</param>
        public FD(int mediaCount, int count, int low, int up, bool isAttended) {
            this.MediaCount = mediaCount;
            this.Count = count;
            this.Low = low;
            this.Up = up;
            this.IsAttended = isAttended;
        }

        /// <summary>
        /// 媒体数
        /// </summary>
        public int MediaCount { get; set; }

        /// <summary>
        /// 对应媒体数的个数
        /// </summary>
        public int Count { get; set; }

        /// <summary>
        /// 限制的最低值
        /// </summary>
        public int Low { get; set; }

        /// <summary>
        /// 限制的最高值
        /// </summary>
        public int Up { get; set; }

        /// <summary>
        /// 是否参与合并数为1、2、3的合并。true：参与。
        /// </summary>
        public bool IsAttended { get; set; }
    }
}
